
let option = {
    width: '82%',
    height: '210px',
    color: '#6467F0',
    grid: {
        y: '70',
        y2: '100'
    },
    tooltip: {},
    legend: {
        data: [
            {
                name: '总资产',
                icon:'image:///static/1.png',
                textStyle: {
                    color: '#333',
                }
            },
            {
                name: '总资产增长率',
                icon:'image:///static/3.png',
                textStyle: {
                    color: '#333',
                }
            }
        ],
        left: '0',
        top: '0',

    },
    xAxis: {
        data: ['2015', '2016', '2017', '2018', '2019']
    },
    yAxis: [
        {
            type: 'value',
            axisLabel: {
                formatter: '{value}%'
            }
        },
        {
            type: 'value',
            min: 0,
            max: 25,
            interval: 5,
            axisLabel: {
                formatter: '{value}'
            }
        }
    ],
    series: [
        {
            name: '总资产',
            type: 'bar',
            data: [1, 2, 7.5, 15, 22.5],
            barWidth: '20px'
        },
        {
            name: '总资产增长率',
            data: [2, 3, 7.5, 15, 22.5],
            type: 'line',
            itemStyle: {
                color: '#FA5151'
            },
            lineStyle: {
                normal: {
                    color: '#FA5151'
                }
            },
            areaStyle: {
                color: '#FA5151',
                opacity: 0.1
            }
        }
    ]
};
